import requests

from config import TEST_ENV


class Ihrm_login_api:
    @classmethod
    def ihrm_login_api(cls,jsondata):

        resp=requests.post(url=f"{TEST_ENV}/api/sys/login",json=jsondata)

        return resp